package com.tyj.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *      影院订单
 * </p>
 *
 * @author tyj
 * @since 2021-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class MovieTheatreOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 电影放映id
     */
    private Long movieTheatreShowId;

    /**
     * 电影id
     */
    private Long movieId;

    /**
     * 作为
     */
    private String seat;

    /**
     * 创建日期
     */
    private Date createDate;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 订单状态
     */
    private Integer state;


}
